#ifndef __BOARD_H
#define __BOARD_H

#include "led.h"
#include "console_usart.h"
#include <stdbool.h>

struct led_selc;
typedef struct led_selc led_initTypeDef;
typedef struct led_selc* led_t;

void board_lowlever_init(led_t led_init_struct);
void led_lowlever_init(led_t led);

void led_set_onoff(led_t led,bool bit);
void led_toggle(led_t led);

extern led_t led1;
extern led_t led2;
extern led_t led3;

#endif
